
Pod::Spec.new do |s|
  s.name             = 'RZIMKit'
  s.version          = '0.2.0'
  s.summary          = 'RZIMKit 是基于WebSocket自研的即时通讯库'

  s.description      = <<-DESC
  RZIMKit 是基于WebSocket自研的即时通讯库，主要为公司内部项目提供IM能力。 功能相对简单，目前支持文本消息，Emoji, 图片消息，语音消息，视频消息
                       DESC

  s.homepage         = 'https://gitee.com/reyzhang'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'reyzhang' => '27196849@qq.com' }
  s.source           = { :git => 'https://gitee.com/reyzhang/rzimkit.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'
#  s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 armv7s arm64' }
  s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
  s.frameworks = 'AVFoundation', 'CoreMedia', 'VideoToolbox', 'AudioToolbox', 'AssetsLibrary', 'Photos'
  
  
  ###源代码文件配置
  s.source_files = 'RZIMKit/Classes/**/*'
  s.resources    = ['RZIMKit/Assets/*.bundle','RZIMKit/Assets/*.plist']
  s.vendored_libraries = 'RZIMKit/Classes/UI/Conversation/VoiceConvert/Lame/*.a'
  s.static_framework = true #指定pod加静态库标签
  s.requires_arc = true
  
  ###打包成Framework后的配置
  ###特别重要，这里边的.h或者.m文件不能只是配到.framework,否则找不到，报错
  #s.source_files  = 'RTMLib.framework/Headers/*.{h}'
  ###特别重要，这里必须配置，否则上传成功，找不到.framework,只有头文件
  #s.vendored_frameworks = 'RTMLib-0.1.7/ios/RTMLib.framework'
  
  
  
  
  #s.default_subspec = 'framework'

  #s.subspec 'source' do |ss|
      #ss.resources    = ['RZIMKit/Assets/*.bundle','RZIMKit/Assets/*.plist']
      #ss.source_files = 'RZIMKit/Classes/**/*'
      ###如果引入了本地静态库，需要设置静态库的位置
      #ss.vendored_libraries = 'RZIMKit/Classes/UI/Conversation/VoiceConvert/Lame/*.a'
      #ss.requires_arc = true
  #end


  #s.subspec 'framework' do |ss|
    #ss.resources    = ['RZIMKit/Assets/*.bundle','RZIMKit/Assets/*.plist']
    #ss.vendored_frameworks = 'RZIMKit-0.1.17/ios/RZIMKit.framework'
    #ss.static_framework = true
    #ss.requires_arc = true
  #end
  

  s.dependency 'SocketRocket'
  s.dependency 'AFNetworking','4.0.1'
  s.dependency 'SDWebImage'
  s.dependency 'MJExtension'
  s.dependency 'TZImagePickerController'
    
  
end
